package com.atzzy.ysmall.ysmall_mapper;

import com.atzzy.ysmall.ysmall_beans.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author JAVAZeng
 * @Date 2022/4/6 15:29
 * @Version 1.0
 */
@Mapper
@Repository
public interface OrderItemMapper {
    int insertList(@Param("orderItems") List<OrderItem> orderItems);

    OrderItem selectOrderItemById(@Param("orderId") String orderId);
}
